import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import HelloElement from '@/components/HelloElement'
import Table1 from '@/components/Table1'
import Table2 from '@/components/Table2'
import Table3 from '@/components/Table3'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },{

      path: '/HelloElement',
      name: 'HelloElement',
      component: HelloElement
    },{

      path: '/table1',
      name: 'Table1',
      component: Table1
    },{

      path: '/table2',
      name: 'Table2',
      component: Table2
    },{

      path: '/table3',
      name: 'Table3',
      component: Table3
    }
  ]
})
